//
//  WBStatusesModel.m
//  sinaWeibo
//
//  Created by 李江波 on 2016/11/17.
//  Copyright © 2016年 lijiangbo. All rights reserved.
//

#import "WBStatusesModel.h"

@implementation WBStatusesModel

/*
 @property NSArray *shadows;
 @property NSSet *borders;
 @property NSDictionary *attachments;
 @implementation YYAttributes
 + (NSDictionary *)modelContainerPropertyGenericClass {
 return @{@"shadows" : [YYShadow class],
 @"borders" : YYBorder.class,
 @"attachments" : @"YYAttachment" };
 }
 @end
 */
+(NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass{
    
    return @{@"pic_urls" : [WBPicUrlModel class]};
    
}

/*
 // Model:
 @interface Book : NSObject
 @property NSString *name;
 @property NSInteger page;
 @property NSString *desc;
 @property NSString *bookID;
 @end
 @implementation Book
 //返回一个 Dict，将 Model 属性名对映射到 JSON 的 Key。
 + (NSDictionary *)modelCustomPropertyMapper {
 return @{@"name" : @"n",
 @"page" : @"p",
 @"desc" : @"ext.desc",
 @"bookID" : @[@"id",@"ID",@"book_id"]};
 }
 */

+(NSDictionary<NSString *,id> *)modelCustomPropertyMapper{

    return @{@"iid" : @"id"};
}

@end
